<template>
  <div class="menu-container">
    <img src="@/assets/offer.jpg" alt="描述性文字" width="100%" />
    <div class="menu-item">
      <div class="text-content">
        <h3>找工作</h3>
        <p>上职你来直接沟通</p>
      </div>
      <div class="icon boss-icon">职为你来</div>
    </div>
    <div class="menu-item">
      <div class="text-content">
        <h3>秒沟通</h3>
        <p>在线聊天及时沟通</p>
      </div>
      <div class="icon boss-icon">职为你来</div>
    </div>
    <div class="menu-item">
      <div class="text-content">
        <h3>任性选</h3>
        <p>各大行业职位任你选</p>
      </div>
      <div class="icon boss-icon">职为你来</div>
    </div>
    <div class="menu-item">
      <div class="text-content">
        <h3>等你来</h3>
        <p>你的offer在这里哦</p>
      </div>
      <div class="icon boss-icon">职为你来</div>
    </div>
    <img src="@/assets/bg.jpg" alt="描述性文字" width="100%" />
  </div>
</template>

<style>
.menu-container {
  background-color: #e6f7f5;
  border-radius: 10px;
  padding: 30px;
  width: 100%;
  max-width: 180px; /* 限制最大宽度 */
  font-family: Arial, sans-serif;

  .menu-item {
    display: flex;
    align-items: center;
    margin-bottom: 13px;
    height: 100%;
  }

  .menu-item:last-child {
    margin-bottom: 0;
  }

  .icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
  }

  .boss-icon {
    background-color: #409eff;
    color: white;
    font-size: 14px;
    font-weight: bold;
    padding: 5px;
    text-align: center;
    line-height: 1;
  }

  .message-icon,
  .briefcase-icon {
    width: 24px;
    height: 24px;
    color: #53cac3;
  }

  .text-content {
    flex-grow: 1;
  }

  h3 {
    margin: 0;
    font-size: 14px;
    color: #333;
  }

  p {
    margin: 5px 0 0;
    font-size: 12px;
    color: #666;
  }
}
</style>
